<?php 

$con = mssql_connect('mssql','sa','qq') 
    or die('Could not connect to the server!');

?>